#!/bin/bash
export HADOOP_USER_NAME=hdfs
cat $1 | while read LINE
do
echo "*********************START $LINE***********************"
echo "*******************************************************"
hdfs dfs -setrep -R  2 $LINE
#hdfs dfs -setrep -R -w 2 $LINE
echo "*********************end $LINE***********************"
echo "*******************************************************"
done